package com.sugar.subscribe.course.module.business.controller.app.withdrawrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "APP - 提现记录新增/修改 Request VO")
@Data
public class AppWithdrawRecordSaveReqVO {

    @Schema(description = "提现金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "提现金额不能为空")
    @DecimalMin(value = "0.01", message = "提现金额不能低于一分钱")
    private BigDecimal amount;
}